package com.xcm.model.vo;

import com.xcm.constant.DateFormatConstant;
import com.xcm.util.DateUtils;

/**
 * 
 * <p>Title: SingleDeviceReportVO</p>  
 * <p>Description: 单个终端的报表信息</p>  
 * @author huangf 
 * @date 2018年5月8日
 */
public class SingleDeviceReportVO {

	/** 终端主键 */
	private Long deviceInfoId;
	/** 时间点 */
	private Long timePoint;
	/** 机器码 */
	private String deviceNum;
	/** mac */
	private String mac;
	/** ip地址 */
	private String reportIp;
	/** 终端型号 */
	private String deviceModel;
	/** 设备在线状态 */
	private Integer state;
	/** 分组 */
	private String group;
	/** 当前播放版本号 */
	private String currentPlayXcVersion;
	/** 当前终端系统版本号 */
	private String currentDeviceSoftVer;
	/** 当前终端硬件版本号 */
	private String currentDeviceHardVer;

	public Long getDeviceInfoId() {
		return deviceInfoId;
	}

	public void setDeviceInfoId(Long deviceInfoId) {
		this.deviceInfoId = deviceInfoId;
	}

	public Long getTimePoint() {
		return timePoint;
	}
	
	public String getTimePointFormat() {
		if ( timePoint != null ) {
			return DateUtils.longTimeStampToStringDate(timePoint, DateFormatConstant.LONG_DATE_FORMAT_STR);
		}
		return "";
	}
	
	public void setTimePoint(Long timePoint) {
		this.timePoint = timePoint;
	}

	public String getDeviceNum() {
		return deviceNum;
	}

	public void setDeviceNum(String deviceNum) {
		this.deviceNum = deviceNum;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public String getReportIp() {
		return reportIp;
	}

	public void setReportIp(String reportIp) {
		this.reportIp = reportIp;
	}

	public String getDeviceModel() {
		return deviceModel;
	}

	public void setDeviceModel(String deviceModel) {
		this.deviceModel = deviceModel;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public String getCurrentPlayXcVersion() {
		return currentPlayXcVersion;
	}

	public void setCurrentPlayXcVersion(String currentPlayXcVersion) {
		this.currentPlayXcVersion = currentPlayXcVersion;
	}

	public String getCurrentDeviceSoftVer() {
		return currentDeviceSoftVer;
	}

	public void setCurrentDeviceSoftVer(String currentDeviceSoftVer) {
		this.currentDeviceSoftVer = currentDeviceSoftVer;
	}

	public String getCurrentDeviceHardVer() {
		return currentDeviceHardVer;
	}

	public void setCurrentDeviceHardVer(String currentDeviceHardVer) {
		this.currentDeviceHardVer = currentDeviceHardVer;
	}

}
